/*
 * Base structure
 */


/* Move down content because we have a fixed navbar that is 50px tall */
/*.container-fluid {*/
  /*width: 1920px;*/
/*}*/
body {
  padding-top: 50px;
}

@font-face {
  font-family: 'aidesignicons-regular';
  src: url(../dist/fonts/aidesignicons-regular.ttf);
  font-style: normal;
  font-weight: normal;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

.navbar-brand {
  color: #fff!important;
  font-size: 18px;
  font-weight: bold;
}

.navbar-brand > div {
  display: inline;
}

.navbar-brand > div > img{
  width: 30px;
  height: 30px;
  object-fit: cover;
  margin-right: 10px;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}

#datetime {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background: rgba(0, 0, 0, 0.2);
    /*border-right: 1px solid #eee;*/
  }

  #datetime {
    float:left;
    display: inline;
  }

  #datetime > span {
    font-family: 'aidesignicons-regular';
  }

  .navbar-brand {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
    position: fixed;
  }

  .navbar {
    height: 50px;
    background: url(../img/导航栏.png);
    background-size: 100% 100%;
  }

  #navbar\ navbar-top-ul {
    display: inline-block;
    margin: 0;
    text-align: center;
  }

  ul.nav.navbar-nav.clear {
    float: none;
    display: inline-block;
    text-align: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  ul.nav.navbar-nav.clear:hover li:not(:hover) a {
    opacity: 0.7;
  }

  ul.nav.navbar-nav.clear > li::after {
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3498db;
    transform: scaleX(0);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  ul.nav.navbar-nav.clear > li:hover::after, ul.nav.navbar-nav.clear > li.current::after {
    transform: scaleX(1);
  }

  ul.nav.navbar-nav.clear > li.current > a {
    color: #fff;
    position: relative;
    display: flex;
    font-family: Lato, sans-serif;
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}
